package pers.duorhs.common.socket;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.LinkedHashMap;

/**
 * @author Duorhs
 * @date 2022/5/9 9:05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SocketData<T> implements Serializable {
    private LinkedHashMap<String, Object> head;
    private T body;
}
